//
//  TuijianViewController.m
//  test1
//
//  Created by chen on 16/10/29.
//  Copyright © 2016年 chen. All rights reserved.
//

#import "TuijianViewController.h"
//#import "HMSlideView.h"
#import "Masonry.h"
#import "AFNetworking.h"
#import "UIImageView+WebCache.h"
#import "SDCycleScrollView.h"

@interface TuijianViewController ()

@property(nonatomic,strong)NSArray<NSURL*>*arr;

@end

@implementation TuijianViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    //保存URL的数组
    self.arr=@[@"http://wimg.huodongxing.com/Content/app/appom/622492454354615.jpg",
               @"http://wimg.huodongxing.com/Content/app/appom/882472505355506.jpg",
               @"http://wimg.huodongxing.com/Content/app/appom/882478460206044.jpg",
               @"http://wimg.huodongxing.com/Content/app/appom/152482432954477.jpeg",
               @"http://wimg.huodongxing.com/Content/app/appom/512474436408896.jpg",
               @"http://wimg.huodongxing.com/Content/app/appom/462463719205212.jpg"
               ];
    //初始化轮播器
    SDCycleScrollView *view=[SDCycleScrollView cycleScrollViewWithFrame:CGRectMake(0, 0, self.view.bounds.size.width, 150) imageNamesGroup:self.arr];
    [self.view addSubview:view];
    
     
}








@end
